const http = uni.$u.http

const api = {
	add:'/api/miniapp/comment.php?act=add',
	count:'/api/miniapp/comment.php?act=count',	
}

export const add = (params,config) => http.post(api.add,params, {
	custom: {
		toast: false
	},
	
	...config
})

export const count = (params,config) => http.post(api.count,params, {
	custom: {
		toast: false
	},
	
	...config
})

